import QtQuick 1.0
import com.nokia.symbian 1.1


CommonDialog {
    id: root
    width: 0
    height: 300

    titleText: "Set Date"
    property string strDate;

    content: Column {
        id: column1
        x: 2
        y: -91
        width: 344
        height: 215
        anchors.rightMargin: -2
        anchors.leftMargin: 2
        spacing: 8
        anchors.left: parent.left; anchors.right: parent.right


        DateReel{
            id:date
            width: 344
            anchors.left: parent.left
            anchors.leftMargin: 35
            monthWidth: 80
            dayWidth: 80
            yearWidth: 100

            fontColor: "#ffffff"
            anchors.verticalCenterOffset: 75
            anchors.verticalCenter: parent.verticalCenter
            fontSize: 16



        }

    }

    buttons: ButtonRow {
        id: buttonrow1
        anchors { left: parent.left; right:  parent.right; margins: 16 }
        Button { text: "Set" ; implicitHeight: 40; onClicked: {strDate = date.getDate(); root.accept()}}

    }



}
